<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Disk Canvas</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <script src="../layui/layui.js"></script>
    <script src="canvas01.js" type="module"></script>
</head>
<body>
<!--Top nav divs.-->
<div id="top_nav"></div>
<!--Concrete content.-->
<div class="layui-container">
    <div id="detail"></div>
    <form class="layui-form" action="" style="margin-top: 30px;">
        <div class="layui-form-item">
            <label class="layui-form-label">起始位置</label>
            <div class="layui-input-block">
                <input type="text" name="location" required  placeholder="磁头最开始所在的位置，是一个数字" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">请求序列</label>
            <div class="layui-input-block">
                <input type="text" name="seq" required  placeholder="输入请求的整数序列，每个数字位于 0-99 之间，至少输入一个数字" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                <input type="radio" name="how" value="FCFS" title="先来先服务算法" checked>
                <input type="radio" name="how" value="SSTF" title="最短寻道时间优先算法">
                <input type="radio" name="how" value="SCAN" title="SCAN 扫描算法（电梯算法）">
                <input type="radio" name="how" value="C-SCAN" title="循环扫描算法 C-SCAN">
                <input type="radio" name="how" value="LOOK" title="LOOK 算法">
                <input type="radio" name="how" value="C-LOOK" title="C-LOOK 算法">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">提交并运行</button>
                <!--<button type="button" class="layui-btn layui-btn-normal" id="begin_stop_canvas_btn">Start/Stop</button>-->
                <!--<button></button>-->
            </div>
        </div>
    </form>
    <br/>
    <!--Canvas area-->
    <br/>
    <div id="canvas_here" style="width: 900px; margin: 10px auto"></div>
</div>
<script src="../functions/addCommonHeader.js"></script>
</body>
</html>